/**
 * RaceCondition - introduction to Threads.
 * This program illutrates one problem encountered when using threads.
 *  Race conditions are explained in lab #2. See
 *  http://en.wikipedia.org/wiki/Race_condition#Computing
 * 
 * The race condition in the behavior of multiple instances of class B
 *  is due to the "rest" we explicitly insert into the code.  
 */
package lab2;

public class RaceCondition {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		B a = new B("th a");
		B b = new B("th b");
		B c = new B("th c");

		a.start();
//		b.start();
//		c.start();
	}

}
